/// data : "data"
/// text : "text"

class ToJsModel {
  String? _data;
  String? _text;

  String? get data => _data;
  String? get text => _text;

  ToJsModel(String data, String text){
    _data = data;
    _text = text;
}

  ToJsModel.fromJson(dynamic json) {
    _data = json["data"];
    _text = json["text"];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["data"] = _data;
    map["text"] = _text;
    return map;
  }

}